package org.metasketch.graphics.language.validator;

import java.util.ArrayList;
import java.util.List;

public class Messaging {

	List<String> errors = new ArrayList<String>();
	List<String> warnings = new ArrayList<String>();

	public List<String> getErrors() {
		return errors;
	}

	public void setErrors(List<String> errors) {
		this.errors = errors;
	}

	public List<String> getWarnings() {
		return warnings;
	}

	public void setWarnings(List<String> warnings) {
		this.warnings = warnings;
	}

	public void addError(String error) {
		errors.add(error);
	}

	public void addWarning(String warning) {
		errors.add(warning);
	}

}
